﻿<UserControl x:Class="CPPEI.PM.Shell.SysViews.HeaderView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Menu Grid.Row="0">
            <MenuItem Header="创建">
                <MenuItem Name="_ctlBtnCreateWorkItem" Header="创建工作项" Click="_ctlBtnCreateWorkItem_Click_1">

                </MenuItem>
                <MenuItem Name="_ctlBtnCreateWorkSheet" Header="创建表" Click="_ctlBtnCreateWorkSheet_Click_1"/>
            </MenuItem>
            <MenuItem Header="拆分">
                <MenuItem Header="拆分阶段"/>
            </MenuItem>
            <MenuItem Header="基础数据管理">
                <MenuItem Name="_ctlBtnManageUser" Header="用户管理" Click="_ctlBtnManageUser_Click_1">
                    <MenuItem.Icon>
                        <Image Source="../Res/user_management.png"/>
                    </MenuItem.Icon>
                </MenuItem>
            </MenuItem>
        </Menu>
        <ToolBar Grid.Row="1">
            <Button Name="_ctlBtnRefresh" Content="刷新" Click="_ctlBtnRefresh_Click_1"/>
        </ToolBar>
    </Grid>
</UserControl>
